import React, { Component } from 'react';//直接输入rcc快捷方式
import "../../styles/home/MyHeader.css"//导入并执行css样式

class Header extends Component {
    render() {
        return (
            <div className='homeinput-box'>
                <input type="text" placeholder='搜索框'/>
                <span>客服</span>
            </div>
        );
    }
}

export default Header;//要想显示必须在根组件渲染